package com.springmvc.web.demo.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * </p>
 *
 * @author WangRuChao
 * @since 2018-01-11
 */
@TableName("ph_flup_data")
public class PhFlupData extends Model<PhFlupData> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 随访id
	 */
	private Long flupid;
	/**
	 * 字段id
	 */
	private Long field;
	/**
	 * 字段值
	 */
	private String value;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getFlupid() {
		return flupid;
	}

	public void setFlupid(Long flupid) {
		this.flupid = flupid;
	}

	public Long getField() {
		return field;
	}

	public void setField(Long field) {
		this.field = field;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PhFlupData{" +
				"id=" + id +
				", flupid=" + flupid +
				", field=" + field +
				", value=" + value +
				"}";
	}
}
